<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<properties>
		<!-- Common properties; all module need to be compiled by using UTF-8 -->
		<source.encoding>UTF-8</source.encoding>
		<reporting.encoding>UTF-8</reporting.encoding>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		
		<!-- Configure maven by executing test but not stopping if tests are wrong -->
		<maven.test.skip>true</maven.test.skip>
		<maven.test.failure.ignore>true</maven.test.failure.ignore>
		
		<!-- Spring version -->
		<spring.security.version>4.0.2.RELEASE</spring.security.version>
		<springframework.version>4.2.4.RELEASE</springframework.version>
		
		<!-- Geotools -->
		<gt.shapefile.version>13.2</gt.shapefile.version>
		
	</properties>
	
	<parent>  
		<groupId>it.ap.sa</groupId>
		<artifactId>AcquariumMain</artifactId>
		<version>0.0.1-SNAPSHOT</version>
		<relativePath>../AcquariumMain/pom.xml</relativePath>
	</parent>
	
	<modelVersion>4.0.0</modelVersion>
	<artifactId>AcquariumDao</artifactId>
	<name>Acquarium Dao</name>
	<description>Acquarium - Modulo Accesso ai Dati</description>
	
	<dependencies> 
		<dependency>
			<groupId>it.ap.sa</groupId>
			<artifactId>AcquariumCore</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
		 <dependency>
	         <groupId>org.reflections</groupId>
	         <artifactId>reflections</artifactId>
	         <version>0.9.9-RC1</version>
	         <exclusions>
				<exclusion>
					<groupId>org.javassist</groupId>
  					<artifactId>javassist</artifactId>
				</exclusion>
			</exclusions>
        </dependency>
        
		<!-- Spring Security -->
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-web</artifactId>
			<version>${spring.security.version}</version>
			<exclusions>
				<exclusion>
					<artifactId>spring-core</artifactId>
					<groupId>org.springframework</groupId>
				</exclusion>
				<exclusion>
					<artifactId>spring-web</artifactId>
					<groupId>org.springframework</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
		    <groupId>org.springframework.security</groupId>
		    <artifactId>spring-security-taglibs</artifactId>
		    <version>${spring.security.version}</version>
		    <exclusions>
				<exclusion>
					<artifactId>spring-core</artifactId>
					<groupId>org.springframework</groupId>
				</exclusion>
				<exclusion>
					<artifactId>spring-web</artifactId>
					<groupId>org.springframework</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		
		<dependency>
			<groupId>net.java.dev.jsr-275</groupId>
			<artifactId>jsr-275</artifactId>
			<version>1.0-beta-2</version>
			<exclusions>
				<!-- da non includere assolutamente -->
				<exclusion>
					<artifactId>
	        			jackson-module-jaxb-annotations
	        		</artifactId>
					<groupId>com.fasterxml.jackson.module</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		
		<dependency>
			<groupId>org.geotools</groupId>
			<artifactId>gt-shapefile</artifactId>
			<version>${gt.shapefile.version}</version>
		</dependency>
		
		
	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.7</version>
				<configuration>
					<encoding>${reporting.encoding}</encoding>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<repositories>
		<repository>
        	<id>OSGEO GeoTools repo</id>
      		<url>http://download.osgeo.org/webdav/geotools</url>
        </repository>
	</repositories>
</project>